package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

public interface IUserDao {

    //查询所有用户
    List<User> findAll();

    //根据条件进行查询
    User findByCondition(User user);

    public void addUser(User user);

    public void editUser(User user);

    public void deleteUser(User user);
}
